import request from '@/utils/request'

// 查询课程学生老师关联表列表
export function listTestSubTeacherStu(query) {
  return request({
    url: '/system/TestSubTeacherStu/list',
    method: 'get',
    params: query
  })
}

// 查询课程学生老师关联表详细
export function getTestSubTeacherStu(id) {
  return request({
    url: '/system/TestSubTeacherStu/' + id,
    method: 'get'
  })
}

// 新增课程学生老师关联表
export function addTestSubTeacherStu(data) {
  return request({
    url: '/system/TestSubTeacherStu',
    method: 'post',
    data: data
  })
}

// 修改课程学生老师关联表
export function updateTestSubTeacherStu(data) {
  return request({
    url: '/system/TestSubTeacherStu',
    method: 'put',
    data: data
  })
}

// 删除课程学生老师关联表
export function delTestSubTeacherStu(id) {
  return request({
    url: '/system/TestSubTeacherStu/' + id,
    method: 'delete'
  })
}
